package top.linuyx.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Author Linuyx
 * @Description account_role表
 * @Date Created in 2021-04-07 22:12
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@TableName("account_role")
public class AccountRoleEntity extends BaseEntity implements Serializable {

    /**
     * 账号id
     */
    private Long accountId;

    /**
     * 角色id
     */
    private Long roleId;

}
